<template>
  <!-- 信息详情 -->
  <div id="newsInfo">
    <header>
      <Navbar :navbarText="navbarText" />
    </header>
  </div>
</template>

<script>
import Navbar from './navbar.vue'
export default {
  name: 'newsInfo',
  data() {
    return {
      msgInfo: {},
      navbarText: '',
    }
  },
  components: { Navbar },
  mounted() {
    this.msgInfo = JSON.parse(this.$router.history.current.query.data)
    this.navbarText = this.msgInfo.fromUser.artistName
  },
}
</script>

<style>
</style>